package com.warm.system.api;

import com.warm.select.api.orm.domain.sys.SysOperLog;
import com.warm.system.api.orm.agent.SysOperLogAgent;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

/**
 * 操作日志 服务层处理
 *
 * @author warm
 */
@Component
public class SysOperLogApiImpl implements ISysOperLogApi {
    @Inject
    private SysOperLogAgent operLogAgent;

    /**
     * 新增操作日志
     *
     * @param operLog 操作日志对象
     */
    @Override
    public void insertOperlog(SysOperLog operLog) {
        operLogAgent.insertOperlog(operLog);
    }

}
